package org.witsoft.dtx.config;

import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author XiaoQing Lin
 * @date 2020-12-09 16:02
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(DtxConfigurationSelector.class)
public @interface EnableDTX {

    boolean schedule() default false;
}
